# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-fceumm
pkgver=0_git20200325
pkgrel=0
_commit="0d569e9bab054f215f828184c1d63fa69f8abd0c"
pkgdesc="FCEUmm libretro port"
url="https://github.com/libretro/libretro-fceumm"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-fceumm/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-fceumm-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 fceumm_libretro.so "$pkgdir"/usr/lib/libretro/fceumm_libretro.so
}

sha512sums="96d2c476d75d4106d7a0535945dacdf2a8270669aac85c1f85210506425eb35657425f74f5d2282bbf9d33ec89ff36e13baed6f2c48bb8e777c6ca3a82a184bc  libretro-fceumm-0d569e9bab054f215f828184c1d63fa69f8abd0c.tar.gz"
